package cc.zyjx.school.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cc.zyjx.common.annotation.Excel;
import cc.zyjx.common.core.domain.BaseEntity;

/**
 * 学员班级对象 tr_class_tpye
 * 
 * @author åº§å±±å®¢
 * @date 2023-05-02
 */
public class TrClassTpye extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long id;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 车型 */
    @Excel(name = "车型")
    private String cartType;

    /** 班级状态  */
    @Excel(name = "班级状态 ")
    private String classState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCartType(String cartType) 
    {
        this.cartType = cartType;
    }

    public String getCartType() 
    {
        return cartType;
    }
    public void setClassState(String classState) 
    {
        this.classState = classState;
    }

    public String getClassState() 
    {
        return classState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("price", getPrice())
            .append("cartType", getCartType())
            .append("classState", getClassState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
